package com.data.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.vo.FeedbackInfoVo;
import com.data.core.entry.FeedbackInfo;


/**
* @version: V1.0
* @author: szw
* @className: FeedBackInfoService
* @packageName: FeedBackInfoService
* @description: 意见接口
* @data: 2021-1-22
**/ 
public interface FeedBackInfoService extends IService<FeedbackInfo> {

    /**
     * 新增意见
     * @param feedbackInfoVo
     * @return int
     */
    int save(FeedbackInfoVo feedbackInfoVo)throws Exception;


    /**
     * 更新意见
     * @param feedbackInfoVo
     * @return int
     */
    int update(FeedbackInfoVo feedbackInfoVo)throws Exception;

    /**
     * 查询意见
     * @param id
     * @return FeedbackInfo
     */
    FeedbackInfo findFeedbackInfoById(Long id)throws Exception;

    /**
     * 删除意见
     * @param id
     * @return
     */
    int delete(Long id)throws Exception;

    /**
     * 分页查询意见列表
     * @param page
     * @param feedbackInfoVo
     * @return IPage<FeedbackInfo>
     * @throws Exception
     */
    IPage<FeedbackInfo> feedbackInfoPage(Page<FeedbackInfo> page, FeedbackInfoVo feedbackInfoVo)throws Exception;
}
